package pers.liuchengyin.pojo;

import lombok.Data;

import java.util.List;

/**
 * @ClassName SearchResult
 * @Description
 * @Author 柳成荫
 * @Date 2022/3/27
 */
@Data
public class SearchResult {

    private List<SkuModel> skuModels;

    private Integer pageNum;

    private Long totalCount;

    private Long totalPage;

    private List<Brand> brands;

    private List<Category> categories;

    private List<Spec> specs;


    @Data
    public static class Brand {
        private Long brandId;
        private String brandName;
    }

    @Data
    public static class Spec {
        private Long specId;
        private String specName;
        private List<String> specValue;
    }

    @Data
    public static  class Category {
        private Long categoryId;
        private String catalogName;
    }
}
